package com.ruoyi.network.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.entity.BaseNewEntity;
import com.ruoyi.network.enums.ExpiryStatusEnum;
import com.ruoyi.network.enums.UasgeStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * IP地址维护结构对象 ip_address
 *
 * @author lyp
 * @date 2024-12-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class IpAddress extends BaseNewEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主机名称
     */
    @Excel(name = "主机名称")
    private String hostname;

    /**
     * IP地址
     */
    @Excel(name = "IP地址")
    private Long ipValue;

    /**
     * IP段ID
     */
    @Excel(name = "IP段ID")
    private Long rangeId;

    /**
     * MAC地址
     */
    @Excel(name = "MAC地址")
    private String macAddress;

    /**
     * 业务ID
     */
    @Excel(name = "业务ID")
    private Long usageBizId;

    /**
     * 人员ID
     */
    @Excel(name = "人员ID")
    private Long usageUserId;

    /**
     * 使用状态
     */
    @Excel(name = "使用状态")
    private UasgeStatusEnum usageStatus;

    /**
     * 时效状态
     */
    @Excel(name = "时效状态")
    private ExpiryStatusEnum expiryStatus;
}
